/*
 * style.less
 * Copyright 2019,2020 Gab AI, Inc.
 * License: AGPLv3+
 */
/*
 * main.less
 * Copyright 2019 Gab AI, Inc.
 */
body.hydra {
  padding: 0;
  margin: 0;
}
body.hydra .no-select {
  user-select: none;
}
body.hydra .font-size-md {
  font-size: 1rem;
}
body.hydra .admin-card-container > .card {
  min-height: 350px;
}
a,
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, "Helvetica Neue", sans-serif !important;
}
/*
 * img.less
 * Copyright 2019 Gab AI, Inc.
 */
.hydra img.profile-navbar {
  height: 32px;
}
.hydra img.appicon {
  display: block;
  margin: 0;
  padding: 0;
}
.hydra img.appicon.sm {
  width: 32px;
  height: 32px;
}
.hydra img.appicon.md {
  width: 64px;
  height: 64px;
}
.hydra img.appicon.lg {
  width: 512px;
  height: 512px;
}
.hydra img.responsive {
  display: block;
  width: 100%;
}
/*
 * user-profile.less
 * Copyright 2019 Gab AI, Inc.
 */
.hydra .user-profile {
  background-repeat: no-repeat;
  background-size: cover;
}
.hydra .user-profile div.user-profile-container {
  background-color: rgba(255, 255, 255, 0.9);
}
.hydra .user-profile div.user-profile-container div.profile-image-container {
  position: relative;
  margin: 0 auto;
  width: 200px;
}
.hydra .user-profile div.user-profile-container div.profile-image-container img.profile-user-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2) inset;
}
.hydra .user-profile div.user-profile-container div.profile-image-container div.profile-verified-check {
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 7%;
  bottom: 7%;
  font-size: 24px;
  color: #487fff;
  border: solid 2px white;
  border-radius: 50%;
  line-height: 0;
  background-color: white;
}
.hydra .user-profile div.user-profile-container div.profile-name {
  font-size: 2em;
  font-weight: bold;
  line-height: 1em;
}
.hydra .user-profile div.user-profile-container div.profile-username {
  font-size: 0.8em;
}
/*
 * lightbox.less
 * Copyright 2019 Gab AI, Inc.
 */
.hydra div.hydra-lightbox {
  position: fixed;
  box-sizing: border-box;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 40, 24, 0.8);
  user-select: none;
  overflow: auto;
}
.hydra div.hydra-lightbox div.image-container {
  display: block;
  box-sizing: border-box;
  min-width: 60%;
  max-width: 90%;
  margin: 0 auto;
}
.hydra div.hydra-lightbox div.image-container img.lightbox-image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  border: solid 15px white;
  margin: 1em 0;
}
a {
  color: #30CE7E;
}
a:hover {
  color: #21af6a;
}
h1 {
  font-weight: 700 !important;
}
.as-h1 {
  font-weight: 700 !important;
  font-size: 2.34375rem !important;
}
.card {
  border-radius: 8px !important;
}
.bg-light {
  background-color: #F5F5F5 !important;
}
button:focus {
  box-shadow: none;
  outline: none;
}
.btn-primary,
.page-item.active .page-link,
.nav-pills .active {
  border: 0 !important;
}
.btn-outline-primary {
  color: #30CE7E !important;
  border-color: #30CE7E !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  border-color: #30CE7E !important;
}
.btn-primary,
.dropdown-item.active,
.dropdown-item:active,
.btn-outline-primary:hover,
.page-item.active .page-link,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #30CE7E !important;
}
.nav-pills .nav-link {
  border-radius: 8px;
}
.nav-link {
  padding: 0.25rem 1rem;
}
.nav-pills-collapse-header {
  height: 35px;
  line-height: 35px;
  margin-bottom: 10px;
}
.nav-pills-collapse-header a {
  text-decoration: none;
  line-height: 35px;
  font-weight: 600;
}
.nav-pills-collapse-header i {
  line-height: 35px;
}
.trix-editor {
  min-height: 25em !important;
}
trix-toolbar {
  position: sticky;
  top: 58px;
  background-color: #fff;
  z-index: 1000;
  border-bottom: 1px solid #BBBBBB;
  padding: 1rem;
}
.trix-editor blockquote,
.rich-text blockquote {
  margin: 0 0 1rem 2rem !important;
  border-left: 5px solid #ddd !important;
  padding-left: 2rem !important;
}
.trix-editor pre,
.rich-text pre {
  padding: 20px !important;
  background-color: #eee !important;
}
.trix-editor h1,
.rich-text h1,
.trix-editor h2,
.rich-text h2 {
  font-size: 1.875rem !important;
  font-weight: 400 !important;
}
.trix-editor img,
.rich-text img,
.trix-editor video,
.rich-text video,
.trix-editor figure,
.rich-text figure,
.trix-editor iframe,
.rich-text iframe {
  max-width: 100%;
  height: auto;
}
.footer {
  background-color: #fbfafa;
  border-top: 1px solid #eee;
}
.footer__inner {
  padding: 3rem 0;
}
.footer__about {
  display: block;
  color: #383C43;
  font-size: 14px;
}
.footer__subtitle {
  display: block;
  color: #666;
  word-wrap: break-word;
}
.footer__col-title {
  display: block;
  font-weight: 400;
  color: #383C43;
  margin-bottom: 1rem;
}
.footer__col-link {
  display: block;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}
.footer__col-link:hover {
  color: #383C43;
}
@media (min-width: 0px) and (max-width: 767px) {
  .footer__about,
  .footer__subtitle {
    padding: 0 1rem;
  }
  .footer__col-title {
    font-weight: 600;
    font-size: 16px;
  }
  .footer__col-link {
    font-size: 16px;
    padding: 0.35rem 0;
  }
}
@media (min-width: 0px) and (max-width: 992px) {
  .footer__inner {
    padding: 2rem 0;
  }
}
.footer-below {
  background-color: #eee;
  border-top: 1px solid #ddd;
}
.footer-below__inner {
  display: flex;
  flex-direction: row;
  padding: 1rem 0;
  justify-content: center;
}
.footer-below__copyright {
  line-height: 26px;
  color: #444;
}
.footer-below__copyright a {
  margin-left: 4px;
  color: #444;
  text-decoration: none;
}
@media (min-width: 0px) and (max-width: 767px) {
  .footer-below__inner {
    flex-direction: column;
    align-items: center;
  }
}
.navbar {
  background: #21CF7B !important;
  background-color: #21CF7B !important;
  padding: 0 !important;
}
.navbar .navbar-brand {
  margin-right: 0.25em;
}
.navbar .nav-link {
  font-weight: 500 !important;
  font-size: 1rem !important;
}
.navbar .dropdown-toggle:after {
  content: none !important;
}
.navbar .nav-item {
  border-bottom: 2px solid transparent;
}
.navbar .nav-item.active {
  border-color: #fff;
}
.navbar-collapse.show {
  border-bottom: 1px solid #fff;
  padding: 1rem;
  box-shadow: 0 10px 10px 0px rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-container-fluid {
  width: 1255px;
}
@media (min-width: 1160px) and (max-width: 1280px) {
  .navbar-container-fluid {
    width: 1140px;
  }
}
@media (min-width: 1080px) and (max-width: 1160px) {
  .navbar-container-fluid {
    width: 1060px;
  }
}
@media (min-width: 992px) and (max-width: 1080px) {
  .navbar-container-fluid {
    width: 950px;
  }
}
@media (min-width: 0px) and (max-width: 992px) {
  .navbar-brand {
    margin-left: 1rem;
  }
  .navbar-container-fluid {
    width: 100%;
  }
}
.hero.jumbotron {
  background-color: #21CF7B !important;
  border-bottom: 20px solid #3ADB86;
}
@media (min-width: 840px) {
  .hero.jumbotron h1 {
    font-size: 4rem;
  }
}
@media (max-width: 840px) {
  .hero.jumbotron {
    padding: 5rem 2rem 2rem 2rem !important;
    margin-bottom: 2rem !important;
  }
  .hero.jumbotron h1 {
    font-size: 2.25rem;
  }
}
.hero.jumbotron .search-block {
  height: 60px;
}
.hero.jumbotron .search-block .input-group-text {
  background-color: #fff !important;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border: 0 !important;
}
.hero.jumbotron .search-block input {
  border: 0 !important;
  outline: none !important;
  border-top-right-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
  height: 60px;
  font-size: 1rem;
  line-height: 60px;
}
.article {
  max-width: 1280px;
}
.article #article-content {
  border-left: 1px solid #ddd;
  padding-bottom: 2rem;
}
.article #article-content #content {
  padding-left: 1rem;
}
@media (max-width: 767px) {
  .article #article-content {
    border-top: 1px dashed #ddd !important;
    border-left: none !important;
    padding-top: 2rem;
  }
  .article #content {
    padding-left: 0 !important;
  }
}
.article-sidebar {
  display: block;
  padding-right: 1rem;
}
.article-sidebar__list {
  display: block;
}
.article-sidebar-list-item {
  border-bottom: 1px solid #ddd;
}
.article-sidebar-list-item__header {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 0;
  color: #888;
  background-color: transparent;
  border: 0;
  outline: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  padding-right: 20px;
}
.article-sidebar-list-item__header:before {
  display: block;
  right: 0;
  top: 8px;
  font-weight: 300;
  content: '+';
  position: absolute;
}
.article-sidebar-list-item__header.active {
  color: #000;
}
.article-sidebar-list-item__header.active:before {
  content: '–';
}
.article-sidebar-list-item__header:after {
  content: none !important;
}
.article-sidebar-list-item:last-of-type {
  border-bottom: none;
}
.article-sidebar-list-item__sublist {
  margin: 0.25rem 0 0.5rem 0;
  padding-left: 1.5rem;
}
.article-sidebar-list-item__sublist-item {
  margin-bottom: 2px;
}
.article-sidebar-list-item__sublist-item a {
  display: block;
  padding: 10px 0;
  color: #888;
  font-size: 17px;
  font-weight: 500;
  width: 100%;
}
.article-sidebar-list-item__sublist-item a.active {
  color: #000;
  font-weight: 600;
}
.article-sidebar-list-item__sublist-item:hover a {
  color: #000;
}
